package Model;

import java.io.Serializable;

public class Payload implements Serializable {
	private static final long serialVersionUID = 1L;
	
	private String task;
	private Object object;
	private String className;
	private String state;
	private String ipAdress;
	private int port;
	private int id;
	
	public Payload() { }
	
	public Payload(String task,Object object, String className, String state,
			String ipAdress, int port, int id) {
		this.task = task;
		this.object = object;
		this.className = className;
		this.state = state;
		this.ipAdress = ipAdress;
		this.port = port;
		this.id = id;
	}

	public Object getObject() {
		return object;
	}
	
	public void setObject(Object object) {
		this.object = object;
	}
	
	public String getClassName() {
		return className;
	}
	
	public void setClassName(String className) {
		this.className = className;
	}
	
	public String getState() {
		return state;
	}
	
	public void setState(String state) {
		this.state = state;
	}
	
	public String getIpAdress() {
		return ipAdress;
	}
	
	public void setIpAdress(String ipAdress) {
		this.ipAdress = ipAdress;
	}
	
	public int getPort() {
		return port;
	}
	
	public void setPort(int port) {
		this.port = port;
	}
	
	public int getId() {
		return id;
	}
	
	public void setId(int id) {
		this.id = id;
	}

	public String getTask() {
		return task;
	}

	public void setTask(String task) {
		this.task = task;
	}
	
}

